package com.tjbank.cssys.repository;

import com.tjbank.cssys.domain.CkOrderRecoveryData;
import com.tjbank.cssys.domain.CreditInstallment;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface CreditInstallmentMapper {

    List<CreditInstallment> selectList(CreditInstallment creditInstallment);

    /*修改  审批状态  0未审批1审批*/
    int UpdateAudit(CreditInstallment creditInstallment);

    /*修改  删除状态  card_statue   卡的状态 ，0无效 ,1有效  */
    int UpdatecardStatue(CreditInstallment creditInstallment);

    int deleteByPrimaryKey(@Param("id") Long id);

    int insert(CreditInstallment creditInstallment);

    int insertSelective(CreditInstallment record);

    CreditInstallment selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(CreditInstallment record);

    int updateByPrimaryKey(CreditInstallment record);
}